﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlackBBS.Infrastructure.TelnetProtocol
{
    public class TelnetEventArgs : EventArgs 
    {
        private TelnetEvent _telnetEvent;
        private object _data;

        public TelnetEventArgs(TelnetEvent telnetEvent, object data)
            : base()
        {
            this._telnetEvent = telnetEvent;
            this._data = data;
        }

        public TelnetEvent Event
        {
            get
            {
                return this._telnetEvent;
            }
        }

        public object Data
        {
            get
            {
                return this._data;
            }
        }
    }
}
